<?php /* Smarty version Smarty-3.0.7, created on 2012-01-25 21:15:21
         compiled from "./view/login.tpl" */ ?>
<?php /*%%SmartyHeaderCode:231934e466549d367d5-07969094%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '434325120129dcbecaf64d5a0727a82290f752c8' => 
    array (
      0 => './view/login.tpl',
      1 => 1313236813,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '231934e466549d367d5-07969094',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!isset($_smarty_tpl->getVariable('bodyaction',null,true,false)->value)){?>
	
    <?php if ($_smarty_tpl->getVariable('isLogin')->value!=true){?>
		<div class='nag'><span>Logowanie</span></div>

		<form action='<?php echo $_smarty_tpl->getVariable('page')->value;?>
/login' method='POST' style='margin: 20px;'>
			<b>Login:</b> <input type='text' name='username'><br />
   		 <b>Hasło:</b> <input type='password' name='pass'><br />
    
   		 <input type='submit' value='Zaloguj' name='login' style='margin-left: 55px;'>
				<br />
				<?php if (isset($_smarty_tpl->getVariable('message',null,true,false)->value)){?>
        			<?php echo $_smarty_tpl->getVariable('message')->value;?>

				<?php }?>
		</form>
      <?php }?>
	
    
<?php }else{ ?> 	
	<?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('bodyaction')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php }?>


	
     
